package com.gxa.modules.pc.fee.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.modules.model.dto.RefundHistoryDto;
import com.gxa.modules.model.dto.RefundSearchDto;
import com.gxa.modules.model.entity.fee.RefundHistory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 退款记录表 Mapper 接口
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 05:31:54
 */
@Mapper
public interface RefundHistoryMapper extends BaseMapper<RefundHistory> {
   public List<RefundHistoryDto> queryBySearch(RefundSearchDto refundSearchDto);
   //@Param("startDate") Date startDate, @Param("endDate") Date endDate, @Param("patientName") String patientName, @Param("visitNum") String visitNum

   List<RefundHistoryDto> queryByRefundSearchDto(RefundSearchDto refundSearchDto);

   Integer findUserCount(RefundSearchDto refundSearchDto);

   public List<RefundHistoryDto> queryList();

   public RefundHistoryDto queryById(Integer id);
}
